package cn.boltzjf.sql4j.examples;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import cn.boltzjf.sql4j.examples.mysql.MysqlExample;
import cn.boltzjf.sql4j.examples.postgres.PostgresExample;

public class Examples {
    
    private static Logger log = LoggerFactory.getLogger(Examples.class);

    public static void main(String[] args) {
        try {
            PostgresExample.main(args);
        } catch (Exception e) {
            log.error("Error occured: " + e.getMessage(), e);
        }
        log.debug("--------------------------------------------------------------------");
        try {
            MysqlExample.main(args);
        } catch (Exception e) {
            log.error("Error occured: " + e.getMessage(), e);
        }
    }

}
